package com.zhixiang.xaec.service.system.impl;


import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.system.AppFunctionDao;
import com.zhixiang.xaec.entity.system.AppFunction;
import com.zhixiang.xaec.service.system.AppFunctionService;


@Service
public class AppFunctionServiceImpl extends BaseServiceImpl<AppFunction, Long> implements AppFunctionService
{
    @Autowired
    private AppFunctionDao dao;

    public AppFunction getByKey(String s)
    {
        return this.dao.getByKey(s);
    }

    @Resource(type = AppFunctionDao.class)
    public void setBaseDao(BaseDao<AppFunction, Long> dao)
    {
        setDao(dao);

    }
}
